import { defineUserConfig } from 'vuepress'
import { defaultTheme } from '@vuepress/theme-default'
import { viteBundler } from '@vuepress/bundler-vite'

export default defineUserConfig({
    bundler: viteBundler({
      viteOptions: {
          assetsInclude: ['**/*.JPEG']
      }
    }),
    lang: 'zh-CN',
    title: '个人简历与项目展示',
    description: '前端工程师简历与项目展示',
  theme: defaultTheme({
    navbar: [
      {
        text: '简历',
        link: '/README.md',
      },
      {
        text: '项目展示',
        children: [
          {
            text: '零代码组态大屏',
            link: '/zutai.md',
          },
          {
            text: '标绘组件',
            link: '/markerboard.md',
          },
          {
            text: '风电SCADA组态',
            link: '/nari.md',
          },
          {
            text: '拓扑图组网',
            link: '/topo.md',
          },
          {
            text: '交通测序',
            link: '/ijaotong.md',
          }
        ]
      }
    ],
    sidebar: 'auto'
  })
})